<?php include_once(TEMPLATE_PATH.'includes/ads_slideshow.php'); ?>

<!-- main row product -->
<div class="row bg-white b-t m-b">
  <?php include_once(TEMPLATE_PATH.'includes/ads_left.php'); ?>
  <!-- Content -->
  <div class="col-sm-6 m-t">
    <header class="panel-heading bg-info text-white"><h4>Connect to your account now.</h4></header>
    <div class="line line-dashed"></div>
    <section class="panel panel-default bg-white">
      <header class="panel-heading">
        <strong>Sign in</strong>
      </header>
      <?php echo form_open('', 'class="panel-body wrapper-lg"'); ?>
        <div class="form-group">
          <label class="control-label">Username</label>
          <?php echo form_input('username', set_value('username', $this->input->cookie('dn_site_u')), 'class="form-control parsley-validated" data-required="true" placeholder="Username" autocomplete="off"'); ?>
        </div>
        <div class="form-group">
          <label class="control-label">Password</label>
          <?php echo form_password('password', set_value('password', $this->input->cookie('dn_site_p')), 'class="form-control parsley-validated" data-required="true" placeholder="Password"'); ?>
        </div>
        <div class="checkbox">
          <label>
            <?php echo form_checkbox('remember', 'remember', ($this->input->cookie('dn_site_u') ? TRUE : FALSE), 'class="ace"'); ?> 
            Keep me logged in
          </label>
        </div>
        <a href="<?php echo site_url('fgpwd'); ?>" class="pull-right m-t-xs"><small>Forgot password?</small></a>
        <button type="submit" class="btn btn-primary">Sign in</button>
        <div class="line line-dashed"></div>
        <p class="text-muted text-center"><small>Do not have an account?</small></p>
        <a href="<?php echo site_url('register'); ?>" class="btn btn-default btn-block">Create an account</a>
      <?php echo form_close(); ?>
    </section>
  </div>
  <!-- End Content -->
  <?php include_once(TEMPLATE_PATH.'includes/ads_right.php'); ?>
</div><!-- main row product -->

<?php include_once(TEMPLATE_PATH.'includes/ads_bottom.php'); ?>
